package clothes.tools.service;

import clothes.tools.pojo.Customer;

import java.util.List;

public interface CustomerService {
    /*
    * 注册用户
    * */
    public void ResistCustomer(Customer customer);
    /*
    * 登录
    * */
    public Customer login(Customer customer);
    /*
    * 检查用户名是否可用
    * */
    public boolean existsUsername(String username);

    public void deleteById(String id);

    public void updateCustomer(Customer customer);

    public List<Customer> queryCustomer();

    public List<Customer> queryCustomer(String page,String limit);

    public List<Customer> queryCustomers(String page,String limit,String name);
}
